layui.define(['layer','setter'],function (exports) {
    var $ = layui.$
        ,setter = layui.setter;
    exports("commonUser",{
        getDetail:function (id) {
            return $.ajax({
                url:setter.apiHost + "/api/user/" + id
                ,type:"GET"
            })
        }
    })
})